package com.stu.dcxy.design.creatation.simplefactory;

/**
 * @Classname MainTest2
 * @Version 1.0.0
 * @Date 2022/3/30 18:45
 * @Created by yd
 */
public class MainTest2 {
    public static void main(String[] args) {
        WulinMiniCarFactory miniCarFactory = new WulinMiniCarFactory();
        AbstractCar abstractCar = miniCarFactory.newCar();
        abstractCar.run();
    }
}
